<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>{$item.title} - 人人P2P</title>
        <meta name="keywords" content="{$item.title},人人P2P,我爱P2P,yyste.com,磁力下载,BT下载,磁力下载,电驴下载,ED2K,magnet下载,迅雷下载,美剧,日剧,韩剧,电影,高清电影,游戏,DVDrip,720P,1080P" />
        <meta name="description" content="{$item.title} {foreach from=$item.important_short item=value}{$value} {/foreach} BT磁力下载,电驴,ED2K下载,迅雷下载,人人P2P为您奉献最新的海外影视剧" />

        {include file="theme_v2/include/header.tpl"}
    </head>
    <body>
        {include file="theme_v2/include/top.tpl"}
        <!-- Subhead
        ================================================== -->
        <section id="subintro">
            <div class="jumbotron subhead" id="overview">
                <div class="container">
                    <div class="row">
                        <div class="span8">
                            <h3><i class="m-icon-big-swapright m-icon-white"></i> 单剧信息 - {$item.title}</h3>
                            <p>
                                <!-- Baidu Button BEGIN -->
                                <div id="bdshare" class="bdshare_t bds_tools get-codes-bdshare">
                                <a class="bds_qzone"></a>
                                <a class="bds_tsina"></a>
                                <a class="bds_tqq"></a>
                                <a class="bds_renren"></a>
                                <a class="bds_t163"></a>
                                <span class="bds_more">更多</span>
                                <a class="shareCount"></a>
                                </div>
                                <script type="text/javascript" id="bdshare_js" data="type=tools&amp;uid=6487499" ></script>
                                <script type="text/javascript" id="bdshell_js"></script>
                                <script type="text/javascript">
                                document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + Math.ceil(new Date()/3600000)
                                </script>
                                <!-- Baidu Button END -->
                            </p>
                        </div>
                        <div class="span4">
                            <div class="input-append">
                                {include file="theme_v2/include/search.tpl"}
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>

		<section style="text-align:center">
<script type="text/javascript">
var sogou_ad_id=367102;
var sogou_ad_height=90;
var sogou_ad_width=960;
</script>
<script type='text/javascript' src='http://images.sohu.com/cs/jsfile/js/c.js'></script>
		</section>

        <section id="maincontent">
            <div class="container">
                <div class="row">
                    <div class="span8">
                        <!-- start article full post -->
                        <article class="blog-post">
                            <div class="tooltip-demo headline">
                                <h4><a href="#">{$item.title}</a></h4>
                                <span class="comment"><a href="#" rel="tooltip" data-placement="top" data-original-title="3 Comments">3 comments</a></span>
                            </div>
                            <div class="row">
                                <div class="span3">
                                    <img alt="{$item.title}海报" src="{$smarty.const.IMG_DIR}grey.gif" original="{$item.largeImgUrl}" onerror="{$smarty.const.IMG_DIR}grey.gif" />
                                    <ul class="thumbnails small">					
                                        {foreach from=$item.relatedimage item=image}
                                            <li class="span1">
                                                <a class="thumbnail" data-pretty="prettyPhoto[pp_gal]" href="{$image.large}"><img src="{$image.small}" alt="{$item.title}剧照" style="width:60px;margin-bottom: 0px;"></a>
                                            </li>
                                        {/foreach}
                                    </ul>
                                </div>
                                <div class="span5">
                                    <ul class="post-meta">
                                        <li class="first"><i class="icon-heart"></i><span><a href="#">喜欢</a></span></li>
                                        <li><i class="icon-time"></i><span><a href="#">已看</a></span></li>
                                        <li class="last"><i class="icon-check"></i><span><a href="#">加入计划</a></span></li>
                                    </ul>
                                    <div class="clearfix"></div>
                                    
                                    <ul class="project-detal">
                                        {foreach from=$item.intro key=k item=v}
                                        {if $k|rtrim != "" && $v != ""}
                                        <li>
                                            <label>{$k}：</label>
                                            {if $k == '类型'}
                                                {foreach from=$v item=singleType}
                                                <a href="/advanced_search/type_{$singleType}" target="_blank"><span class="label label-info">{$singleType}</span></a>
                                                {/foreach}
                                            {elseif $k == '主演'}
                                                {foreach from=$v item=singleType name=actor}
                                                    {if not $smarty.foreach.actor.last}
                                                    <a href="/advanced_search/actor_{$singleType}" target="_blank">{$singleType}</a> / 
                                                    {else}
                                                    <a href="/advanced_search/actor_{$singleType}" target="_blank">{$singleType}</a>
                                                    {/if}
                                                {/foreach}
                                            {elseif $k == '导演'}
                                                {foreach from=$v item=singleType name=director}
                                                    {if not $smarty.foreach.director.last}
                                                    <a href="/advanced_search/director_{$singleType}" target="_blank">{$singleType}</a> / 
                                                    {else}
                                                    <a href="/advanced_search/director_{$singleType}" target="_blank">{$singleType}</a>
                                                    {/if}
                                                {/foreach}
                                            {elseif $k == '编剧'}
                                                {foreach from=$v item=singleType name=story}
                                                    {if not $smarty.foreach.story.last}
                                                    <a href="/advanced_search/story_{$singleType}" target="_blank">{$singleType}</a> / 
                                                    {else}
                                                    <a href="/advanced_search/story_{$singleType}" target="_blank">{$singleType}</a>
                                                    {/if}
                                                {/foreach}
                                            {elseif $k == '简介'}
                                                <pre><span id="intro_content">{$v}</span>&nbsp;&nbsp;&nbsp;&nbsp;<a href="###" id="show_more" style="display:none">[展开全文]</a></pre>
                                            {else}
                                                {$v}
                                            {/if}
                                            <input type="hidden" id="full_intro" value="{$item.full_intro}" />
                                            <input type="hidden" id="short_intro" value="{$item.short_intro}" />
                                        </li>
                                        {/if}
                                        {/foreach}
                                    </ul>
                                </div>
                            </div>
                        </article>
                        
                        
                        
                        
                        <div class="item-download">
                            <h4 class="heading-success"><span class="btn btn-large btn-success"><i class="m-icon-big-swapdown m-icon-white"></i></span>&nbsp;&nbsp;影片资源</h4>
                            <div class="alert alert-success">
                                <button type="button" class="close" data-dismiss="alert">&times;</button>
                                <strong>上次更新:</strong>{$item.updatetime}
                            </div>

                            {if $item.download|@count != 0 }
                            <ul class="nav nav-tabs">
                            {if $item.download|@count > 1 }
                                {foreach from=$item.download key=season item=downloadurls name=seasons}
                                    {if $season == 0 }
                                        {if $smarty.foreach.seasons.index  == 0}<li class="active">{else}<li>{/if}<a href="#season{$season}" data-toggle="tab">前传</a></li>
                                    {elseif $season == 101 }
                                        {if $smarty.foreach.seasons.index  == 0}<li class="active">{else}<li>{/if}<a href="#season{$season}" data-toggle="tab">单剧</a></li>
                                    {elseif $season == 103 }
                                        {if $smarty.foreach.seasons.index  == 0}<li class="active">{else}<li>{/if}<a href="#season{$season}" data-toggle="tab">周边资源</a></li>
                                    {else}
                                        {if $smarty.foreach.seasons.index  == 0}<li class="active">{else}<li>{/if}<a href="#season{$season}" data-toggle="tab">第{$season}季</a></li>
                                    {/if}
                                {/foreach}
                            {else}
                                {foreach from=$item.download key=season item=downloadurls}
                                    {if $season == 0 }
                                    <li class="active"><a href="#season{$season}" data-toggle="tab">下载资源</a></li>
                                    {else}
                                    <li class="active"><a href="#season{$season}" data-toggle="tab">单剧</a></li>
                                    {/if}
                                {/foreach}
                            {/if}
                            </ul>
                            {/if}
                            <div class="tab-content">
                                {foreach from=$item.download key=season item=downloadurls name=downloads}
                                    {if $smarty.foreach.downloads.index  == 0}
                                    <div class="tab-pane active" id="season{$season}">
                                    {else}
                                    <div class="tab-pane" id="season{$season}">
                                    {/if}

                                    <ul class="nav nav-pills nav-small" id="filter_ul_{$season}">
                                        <li class="active"><a id="filter_item_rmvb_{$season}" href="###" filter-type="ALL" season="{$season}">全部</a></li>
                                        <li><a id="filter_item_rmvb_{$season}" href="###" filter-type="RMVB" season="{$season}">RMVB</a></li>
                                        <li><a id="filter_item_mp4_{$season}"href="###" filter-type="MP4" season="{$season}">MP4</a></li>
                                        <li><a id="filter_item_720_{$season}"href="###" filter-type="720P" season="{$season}">720P</a></li>
                                        <li><a id="filter_item_1080_{$season}"href="###" filter-type="1080P" season="{$season}">1080P</a></li>
                                        <li><a id="filter_item_hrhdtv_{$season}"href="###" filter-type="HR-HDTV" season="{$season}">HR-HDTV</a></li>
                                        <li><a id="filter_item_hdtv_{$season}"href="###" filter-type="HDTV" season="{$season}">HDTV</a></li>
                                        <li><a id="filter_item_webdl_{$season}"href="###" filter-type="WEB-DL" season="{$season}">WEB-DL</a></li>
                                        <li><a id="filter_item_dvd_{$season}"href="###" filter-type="DVD" season="{$season}">DVD</a></li>
                                    </ul>
                                    <table class="table table-condensed table-striped table-hover">
                                        <tbody>
                                        {foreach from=$downloadurls item=urlinfo}
                                        <tr item-type="{$urlinfo.type}" season="{$season}">
                                            <td style="word-break: break-all;">
                                                <small>
                                                {if $urlinfo.type == 'RMVB' }
                                                <span class="label label-success">{$urlinfo.type}</span>
                                                {elseif $urlinfo.type == '720P'}
                                                <span class="label label-important">{$urlinfo.type}</span>
                                                {elseif $urlinfo.type == '1080P'}
                                                <span class="label label-important">{$urlinfo.type}</span>
                                                {elseif $urlinfo.type == 'HR-HDTV'}
                                                <span class="label label-info">{$urlinfo.type}</span>
                                                {elseif $urlinfo.type == 'HDTV'}
                                                <span class="label">{$urlinfo.type}</span>
                                                {elseif $urlinfo.type == 'WEB-DL'}
                                                <span class="label label-inverse">{$urlinfo.type}</span>
                                                {elseif $urlinfo.type == 'MP4'}
                                                <span class="label label-warning">{$urlinfo.type}</span>
                                                {else}
                                                <span class="label">{$urlinfo.type}</span>
                                                {/if}

                                                <b>{$urlinfo.size}</b>
                                                {$urlinfo.title}
                                                </small>
                                            </td>
                                            <td class="span3">
                                                <small>
                                                {if $urlinfo.magnet != ""}
                                                <a href="{$urlinfo.magnet}" class="btn-download"><i class="icon-magnet"></i> 磁力下载</a>
                                                {/if}
                                                {if $urlinfo.edk != ""}
                                                <a href="{$urlinfo.edk}" class="btn-download"><i class="icon-download-alt"></i> 电驴下载</a>
                                                {/if}
                                                {if $urlinfo.edk|strpos:"ed2k" !== false } 
                                                <a href="http://vod.qq.com/?ed2k={$urlinfo.edk}" class="btn-download" target="_blank"><i class="icon-play-circle"></i> QQ播放</a>
                                                {/if}
                                                <a href="javascript:;" target="_blank" class="btn-download xl_cloud_btn" magurl="{$urlinfo.magnet}"><i class="icon-play"></i> 迅雷播放</a>
                                                </small>
                                            </td>
                                        </tr>
                                        {foreachelse}
                                        <tr><td colspan="2"><small>本站暂无下载资源</small></td></tr>
                                        <tr>
											<td colspan="2">
												<a href="http://www.btspread.com/search/{$item_englishname}" target="_blank">点击这里进行站外搜索</a>
											</td>
										</tr>
                                        {/foreach}
                                        </tbody>
                                    </table>
                                    </div>
                                {foreachelse}
                                <p>
									本站暂无下载资源
									<hr />
									<center>
										<a href="http://www.btspread.com/search/{$item_englishname}" target="_blank"><h6>点击这里进行站外搜索</h6></a>
{literal}
<script>~function (a, c) { a.write('<ins id="' + c + '"></ins>'); var d = a.body || a.getElementsByTagName('head')[0], b = a.createElement('script'); b.type = 'text/javascript'; b.async = true; b.src = "http://f2.adpush.cn/ap/adspacejs/54403.js?" + c; d.insertBefore(b, d.firstChild) }(document, 'QURQVVNI_' + Math.random());</script>
{/literal}
									</center>
								</p>
                                {/foreach}
                            </div>
                            </div>
                        
                    </div>
                    
                    <div class="span4">
                        <aside>
                            <div class="widget">
                                <h4 class="heading-success"><span class="btn btn-large btn-success"><i class="m-icon-big-swapdown m-icon-white"></i></span>&nbsp;&nbsp;分类导航</h4>
                                <ul>
                                    {foreach from=$item.category.types item=singleType}
                                    <li><a href="#">{$singleType}</a></li>
                                    {/foreach}
                                </ul>
                            </div>
                            <div class="clearfix">
                            </div>
                            <div class="widget">
                                <ul id="myTab" class="nav nav-tabs">
                                    <li class="active"><a href="#recent" data-toggle="tab">相关资源</a></li>
                                    <li><a href="#popular" data-toggle="tab">最热资源</a></li>
                                    <li><a href="#comment" data-toggle="tab">猜你喜欢</a></li>
                                </ul>
                                <div id="myTabContent" class="tab-content">
                                    <div class="tab-pane fade in active" id="recent">
                                        <ul class="recent">
                                            {foreach from=$relatedItems item=related}
                                            <li>
                                                {if $smarty.const.debug }
                                                <a href="index.php?action=item_new&id={$related.id}" target="_blank" alt="{$related.title}">
                                                {else}
                                                <a href="/item_new/{$related.id}" target="_blank" alt="{$related.title}">
                                                {/if}
                                                    <img class="alignleft" alt="{$related.title}封面" src="{$smarty.const.IMG_DIR}grey.gif" original="{$related.imgUrl}" onerror="{$smarty.const.IMG_DIR}grey.gif" style="width:60px;" />
                                                </a>
                                                
                                                <h6><a href="/item_new/{$related.id}">{$related.title}</a></h6>
                                                <p>
                                                    {$related.type}
                                                </p>
                                                <a href="/item_new/{$related.id}">更多信息</a>
                                            </li>
                                            {/foreach}
                                        </ul>
                                    </div>
                                    <div class="tab-pane fade" id="popular">
                                        <ul class="recent">
                                            {foreach from=$relatedHotItems item=related}
                                            <li>
                                                {if $smarty.const.debug }
                                                <a href="index.php?action=item_new&id={$related.id}" target="_blank" alt="{$related.title}">
                                                {else}
                                                <a href="/item_new/{$related.id}" target="_blank" alt="{$related.title}">
                                                {/if}
                                                    <img class="alignleft" alt="{$related.title}封面" src="{$smarty.const.IMG_DIR}grey.gif" original="{$related.imgUrl}" onerror="{$smarty.const.IMG_DIR}grey.gif" style="width:60px;" />
                                                </a>
                                                
                                                <h6><a href="/item_new/{$related.id}">{$related.title}</a></h6>
                                                <p>
                                                    {$related.type}
                                                </p>
                                                <a href="/item_new/{$related.id}">更多信息</a>
                                            </li>
                                            {/foreach}
                                        </ul>
                                    </div>
                                    <div class="tab-pane fade" id="comment">
                                        <ul class="recent">
                                            <li>
                                                <a href="#"><img src="{$smarty.const.STATIC_DOMAIN}/img/icons/quote.png" class="alignleft" alt="" /></a>
                                                <h6><a href="#">Jensen Zhang</a></h6>
                                                <p>
                                                    功能暂未开放
                                                </p>
                                                <span>Post :01/07/2013</span>
                                            </li>
                                            
                                        </ul>
                                    </div>
                                </div>
                            </div>
                        </aside>
                    </div>
                </div>
            </div>
        </section>
        
        {include file="theme_v2/include/footer.tpl"}
        <script src="{$smarty.const.JS_DIR}/item_new.js"></script>
    </body>
</html>
